package com.enjoyor.soa.traffic.frame.security.bean.pojo;

import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;
import java.util.List;

@XmlRootElement
public class UserPojo implements Serializable {

    private static final long serialVersionUID = 1L;
    // 用户编号
    private String userId;
    // 用户名称
    private String userName;
    // 系统编码
    private String systemCode;
    // 系统授权码
    private String systemKey;
    // 系统名称
    private String systemName;
    // 密码
    private String password;
    // 角色编号
    private String roleId;
    // 角色名称
    private String roleName;
    // 单点登录用户编号
    private String ssoUserId;
    // 单点登录用户名称
    private String ssoUserName;
    // 创建时间
    private String createTime;
    // 最后登录时间
    private String lastLoginTime;
    // 人员编号
    private String personId;
    // 人员姓名
    private String personName;
    // 联系方式
    private String mobile;
    // 组织编号
    private String orgId;
    // 组织名称
    private String orgName;
    // 是否单点登录用户(0：不是，1：是)
    private String isSSO;
    // 是否PKI用户（0：不是，1：是）
    private String isPKI;
    // 数据权限
    private List<DataAccessRightPojo> dataAccessRights;
    // 功能权限
    private List<RightPojo> rightLists;
    // 是否忘记密码（0：不是，1：是）
    private String forgetPwd;
    // 是否新注册待审核用户（0：不是，1：是）
    private String isRegister;
    // ip地址
    private String addrIP;
    // mac地址
    private String addrMAC;
    // 是否绑定：0：不是，1：绑定IP，2：绑定MAC，3，绑定IP和MAC
    private String addrBind;
    // 身份证号
    private String idNumber;
    // 最后修改时间
    private String lastModifyTime;
    // 申请理由
    private String registerReason;
    // 是否启用：0：不启用，1：启用
    private String isEnable;

    private List<RightPojo> rightListsEx;

    public UserPojo() {
        isRegister = "0";
        addrBind = "0";
        isEnable = "1";
    }

    public String getLastModifyTime() {
        return lastModifyTime;
    }

    public void setLastModifyTime(String lastModifyTime) {
        this.lastModifyTime = lastModifyTime;
    }

    public String getRegisterReason() {
        return registerReason;
    }

    public void setRegisterReason(String registerReason) {
        this.registerReason = registerReason;
    }

    public String getForgetPwd() {
        return forgetPwd;
    }

    public void setForgetPwd(String forgetPwd) {
        this.forgetPwd = forgetPwd;
    }

    public String getIsRegister() {
        return isRegister;
    }

    public void setIsRegister(String isRegister) {
        this.isRegister = isRegister;
    }

    public String getAddrIP() {
        return addrIP;
    }

    public void setAddrIP(String addrIP) {
        this.addrIP = addrIP;
    }

    public String getAddrMAC() {
        return addrMAC;
    }

    public void setAddrMAC(String addrMAC) {
        this.addrMAC = addrMAC;
    }

    public String getAddrBind() {
        return addrBind;
    }

    public void setAddrBind(String addrBind) {
        this.addrBind = addrBind;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getSystemCode() {
        return systemCode;
    }

    public void setSystemCode(String systemCode) {
        this.systemCode = systemCode;
    }

    public String getSystemName() {
        return systemName;
    }

    public void setSystemName(String systemName) {
        this.systemName = systemName;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getSsoUserId() {
        return ssoUserId;
    }

    public void setSsoUserId(String ssoUserId) {
        this.ssoUserId = ssoUserId;
    }

    public String getSsoUserName() {
        return ssoUserName;
    }

    public void setSsoUserName(String ssoUserName) {
        this.ssoUserName = ssoUserName;
    }

    public String getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(String lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public List<DataAccessRightPojo> getDataAccessRights() {
        return dataAccessRights;
    }

    public void setDataAccessRights(List<DataAccessRightPojo> dataAccessRights) {
        this.dataAccessRights = dataAccessRights;
    }

    public String getSystemKey() {
        return systemKey;
    }

    public void setSystemKey(String systemKey) {
        this.systemKey = systemKey;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getPersonId() {
        return personId;
    }

    public void setPersonId(String personId) {
        this.personId = personId;
    }

    public String getIsSSO() {
        return isSSO;
    }

    public void setIsSSO(String isSSO) {
        this.isSSO = isSSO;
    }

    public String getIsPKI() {
        return isPKI;
    }

    public void setIsPKI(String isPKI) {
        this.isPKI = isPKI;
    }

    public List<RightPojo> getRightLists() {
        return rightLists;
    }

    public void setRightLists(List<RightPojo> rightLists) {
        this.rightLists = rightLists;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getIsEnable() {
        return isEnable;
    }

    public void setIsEnable(String isEnable) {
        this.isEnable = isEnable;
    }

    public List<RightPojo> getRightListsEx() {
        return rightListsEx;
    }

    public void setRightListsEx(List<RightPojo> rightListsEx) {
        this.rightListsEx = rightListsEx;
    }

}
